/**
 * Project Name:cnsy-url-short-service
 * File Name:TestScheduleProcessor.java
 * Package Name:cn.cnsy123.shorturls.business.schedule 
 * Date: 2020年4月28日-下午6:44:08
 * Copyright (c) 2020, yangpengfei@360@126.com All Rights Reserved. 
 *
 */

package cn.cnsy123.shorturls.business.schedule;

import org.springframework.scheduling.annotation.Scheduled;

import cn.cnsy123.shorturls.business.util.DateUtil;

/**
 * ClassName: TestScheduleProcessor
 * 
 * @author yangpengfei
 * @date 2020年4月28日-下午6:44:08
 * @version 1.0
 * @since JDK 1.7
 */
public class TestScheduleProcessor {
    
    @Scheduled(cron = "0/5 * * * * ?")
    public void testMin() {
        System.out.println(DateUtil.getNowTime()+Thread.currentThread().getName()+"测试");
    }

}
